home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.107 < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.7 KB  |  46 lines  |  [TEXT/GEOL]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5. Apple IIgs
  6. #107: Tool Locator Tribulations
  7.  
  8. Written by: Dave Lyons                                               May 1992
  9.  
  10. This Technical Note tells you what to watch out for in the Tool Locator.
  11. _____________________________________________________________________________
  12.  
  13.  
  14. SHUTDOWNTOOLS AND SYSTEM 6.0
  15.  
  16. In System 6.0, ShutDownTools inappropriately calls HideCursor even if
  17. QuickDraw II is not started.  The results are unpredictable.
  18.  
  19. If your application does not use QuickDraw II but does use ShutDownTools, you
  20. may need to start up and shut down your tools manually instead.
  21.  
  22. Note that the HideCursor problem does not occur in the (unusual) case that the
  23. System 6.0 noResourceMgr bit (value $0010) is set.
  24.  
  25.  
  26. CONTENTS OF THE STARTUPTOOLS TOOL TABLE
  27.  
  28. You should not include the Tool Locator or Memory Manager in your tool table.
  29. Instead, call TLStartUp and MMStartUp before calling StartUpTools, and call
  30. MMShutDown and TLShutDown after ShutDownTools.
  31.  
  32. Since StartUpTools automatically starts the Resource Manager for you, you
  33. should not include Resource Manager in the tool table, either.  Doing so has
  34. no ill effect in System Software 6.0 and later, but in System Software 5.0
  35. through 5.0.4 you got duplicate ResourceStartUp and ResourceShutDown calls.
  36.  
  37. The order of the tool table entries does not matter.  (Toolbox Reference 3,
  38. page 51-8, says "Although StartUpTools handles the order of tool startup for
  39. you...", but this is widely overlooked.)
  40.  
  41.  
  42. Further Reference
  43. _____________________________________________________________________________
  44.  
  45.    o   Apple IIgs Toolbox Reference, Volume 3
  46.